package com.winter.portal.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

/**
 * <p>
 * 角色资源
 * </p>
 *
 * @author jzyan
 * @since 2023-04-13
 */
@Data
public class RoleResourceDTO implements Serializable {

    @NotNull(message = "not null")
    @ApiModelProperty("角色id")
    private Long id;
    @ApiModelProperty("资源id集合")
    private Set<Long> resourceIds;

}
